import { createStore } from 'vuex'
import user from './modules/user'
import friendModule from './modules/friend'
import resentMessage from './modules/resentMessage'
import navModule from './modules/nav'
import chatMessageModule from './modules/message'
import p2pCallModule from './modules/p2pCall'
import communicationNotifyModule from './modules/communicationNotify'

const store = createStore({
  modules: {
    user,
    friendModule,
    resentMessage,
    navModule,
    chatMessageModule,
    p2pCallModule,
    communicationNotifyModule
  }
})

export default store
